package com.SMP.dao;

import com.SMP.model.Room;
import com.SMP.model.RoomExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RoomMapper {
    long countByExample(RoomExample example);

    int deleteByExample(RoomExample example);

    int deleteByPrimaryKey(String id);

    int insert(Room record);

    int insertSelective(Room record);

    List<Room> selectRoomByName(String name);

    List<Room> selectRoomById(String id);

    List<Room> selectRoomByEid(String equipmentId);

    List<Room> selectRoomByUse(String roomUse);

    List<Room> selectRoomByType(String roomType);

    List<Room> selectRoomAll();

    Room selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Room record, @Param("example") RoomExample example);

    int updateByExample(@Param("record") Room record, @Param("example") RoomExample example);

    int updateByPrimaryKeySelective(Room record);

    int updateByPrimaryKey(Room record);
}